package com.samebuilding.domain;

import java.util.Date;

/**
 * GiftRecord entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class GiftRecord implements java.io.Serializable {

	// Fields

	private String id;
	private Integer senderUserNo;
	private Integer receiveUserNo;
	private Integer giftCode;
	private String message;
	private Date date;
	private Gift gift;
	// Constructors

	public Gift getGift() {
		return gift;
	}

	public void setGift(Gift gift) {
		this.gift = gift;
	}

	/** default constructor */
	public GiftRecord() {
	}

	/** full constructor */
	public GiftRecord(Integer senderUserNo, Integer receiveUserNo,
			Integer giftCode, Date date) {
		this.senderUserNo = senderUserNo;
		this.receiveUserNo = receiveUserNo;
		this.giftCode = giftCode;
		this.date = date;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getSenderUserNo() {
		return this.senderUserNo;
	}

	public void setSenderUserNo(Integer senderUserNo) {
		this.senderUserNo = senderUserNo;
	}

	public Integer getReceiveUserNo() {
		return this.receiveUserNo;
	}

	public void setReceiveUserNo(Integer receiveUserNo) {
		this.receiveUserNo = receiveUserNo;
	}

	public Integer getGiftCode() {
		return this.giftCode;
	}

	public void setGiftCode(Integer giftCode) {
		this.giftCode = giftCode;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}